<?php
	$linkBack = $this->baseUrl($this->currentController);
	$btnBack = $this->cmsButton('Back', $linkBack, $this->baseUrl(PUBLIC_PATH . "/img/toolbar/back.png"), 'link', null);
?>
<div id="toolbar-box" class="title">
	<div class="top-box">
		<div class="top-box">
			<div class="top-box"></div>
		</div>
	</div>
	<div class="m-box">
		<div class="icon-page title-users"></div>
		<div class="toolbar-button">
			<?php echo $btnBack; ?>
		</div>
		<div class="h2">Cập nhật thông tin cá nhân</div>
		<div class="clear"></div>
	</div>
	<div class="bottom-box">
		<div class="bottom-box">
			<div class="bottom-box"></div>
		</div>
	</div>
</div>
<script type="text/javascript">
	$(document).ready(function() {
		if($('#msgvalue').val() == '' || $('#msgvalue').val() == null) {
			$('#profilemsg').hide();
		} else{
			$('#profilemsg').show();
		}
		
		setTimeout(function() {
	        $('#profilemsg').fadeOut();
	    }, 5000);

		var options = new Array();
		options["format"] = "dd-mm-yyyy";
		var birthday = $('#ngay_sinh').datepicker(options).on('changeDate', function(ev) {
			birthday.hide();
		}).data('datepicker');
	}); 
</script>
<input id="msgvalue" type="hidden" value='<?php echo $this->msg; ?>' />
<div class="navbar-inner">
    <div id="profilemsg" class="alert">
    	<button type="button" class="close" data-dismiss="alert">×</button>
    	<?php echo $this->msg; ?>
    </div>
	<?php echo $this->form; ?>
</div>